package com.tchhy.provider.data.profit.response

import com.tchhy.provider.data.profit.IncomeInfo
import java.io.Serializable

/**
 * @author: pujialin
 * @date: 2020-10-16 15:11
 * @desc: 结算列表
 */
class IncomeBreakdownRes() : IncomeInfo() {
    //结算单id
    var id: Long? = null

    //创建时间
    var createTime: String? = null

    //结算单编号
    var settlementId: Long? = null

    //增减项
    var item: List<Item>? = null

    //服务费率
    var ratio: Long? = null

    //操作人id
    var operator: String? = null

    //服务名称
    var serviceName: String? = null

    //健康号
    var healthNumber: String? = null


    class Item() : Serializable {
        //待结金额
        var amount: Long? = null

        //结算内容
        var name: String? = null

        //增减项1 赠 2减
        var type: Int? = null

        //是否是服务收益 mark == 1 and remarks == "服务收益"
        var mark: Int? = null

        //说明备注
        var remarks: String? = null

        //结算单id
        var settlementId: Long? = null
    }
}